package com.springframework.beans.factory.xml;

import com.springframework.beans.factory.config.MyBeanDefinition;
import com.springframework.beans.factory.config.MyBeanDefinitionHolder;
import org.springframework.lang.Nullable;
import org.w3c.dom.Element;
import org.w3c.dom.Node;

public interface MyNamespaceHandler {

    void init();

    @Nullable
    MyBeanDefinition parse(Element element, MyParserContext parserContext);

    @Nullable
    MyBeanDefinitionHolder decorate(Node source, MyBeanDefinitionHolder definition, MyParserContext parserContext);
}
